/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.workflow.bean;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "工作流实例对象", description = "工作流实例对象")
public class FLowTaskBean implements Serializable {

    @ApiModelProperty(value = "实例名称", name = "name", required = true)
    private String name;

    @ApiModelProperty(value = "描述", name = "description", required = true)
    private String description;

    @ApiModelProperty(value = "当前办理人", name = "processcode", required = true)
    private String processcode;

    @ApiModelProperty(value = "人员登录名", name = "loginid", required = true)
    private String loginid;

    @ApiModelProperty(value = "业务关联key", name = "businesskey", required = true)
    private String businesskey;

    @ApiModelProperty(value = "起草人", name = "draftsman", required = true)
    private String draftsman;

    @ApiModelProperty(value = "实例状态 1正常运行中 2.正常结束或直接终止 4.异常结束", name = "status", required = true)
    private Integer status;

    @ApiModelProperty(value = "当前节点操作人", name = "currentOperator", required = true)
    private String currentOperator;

    @ApiModelProperty(value = "工作流实例id", name = "flowInstanceId", required = true)
    private String flowInstanceId;

    @ApiModelProperty(value = "流程定义模板key", name = "templateKey", required = true)
    private String templateKey;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getProcesscode() {
        return processcode;
    }

    public void setProcesscode(String processcode) {
        this.processcode = processcode;
    }

    public String getLoginid() {
        return loginid;
    }

    public void setLoginid(String loginid) {
        this.loginid = loginid;
    }

    public String getBusinesskey() {
        return businesskey;
    }

    public void setBusinesskey(String businesskey) {
        this.businesskey = businesskey;
    }

    public String getDraftsman() {
        return draftsman;
    }

    public void setDraftsman(String draftsman) {
        this.draftsman = draftsman;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCurrentOperator() {
        return currentOperator;
    }

    public void setCurrentOperator(String currentOperator) {
        this.currentOperator = currentOperator;
    }

    public String getFlowInstanceId() {
        return flowInstanceId;
    }

    public void setFlowInstanceId(String flowInstanceId) {
        this.flowInstanceId = flowInstanceId;
    }

    public String getTemplateKey() {
        return templateKey;
    }

    public void setTemplateKey(String templateKey) {
        this.templateKey = templateKey;
    }

}
